package models

import "gorm.io/gorm"

type Weibo struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)"`
	Content string `gorm:"type:varchar(300)"`
}
type Comment struct {
	gorm.Model
	WeiboId int    `gorm:"type:int"`
	Content string `gorm:"type:varchar(100)"`
}
